package day0519;

public class Test5 {
    public static void main(String[] args) {
        int a=1;
        System.out.println(a++ > 0);//true
        System.out.println(a >0);//true

        int i=0;
        System.out.println( 0<i  &&  i++ <100);
        System.out.println(i);//0

        i=0;
        //                  0<0      0<100
        System.out.println( 0<i  &  i++ <100);//false
        System.out.println(i);//1




        i=-1;
        System.out.println( i<0  ||  i-- >100);
        System.out.println(i);//-1

        i=-1;
        //
        System.out.println( i<0  |  i-- >100);//
        System.out.println(i);//-2







        int age=4;
        String n= age>=18? "成年人":  "未成年人";
        System.out.println(n);


        age=5;
        if(age>=18){
            System.out.println("成年人");
        }else{
            System.out.println("未成年人");
        }





        String r="未成年人";
        int x=4;


    }
}
